package com.treasure.mall.biz.service.core.integral;

import com.treasure.mall.biz.entity.integral.UserIntegralLogPO;
import org.springframework.data.domain.Page;

/**
 * @author allan
 * @version 1.0.0
 * @date 2020/8/27
 */
public interface IntegralService {

    /**
     * 得到用户的积分日志
     *
     * @param userId
     * @param pageIndex
     * @param pageSize
     * @return
     */
    Page<UserIntegralLogPO> logsByUser(Long userId, int pageIndex, int pageSize);
}
